package com.example.cashier.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.cashier.R
import com.example.cashier.entity.CashierEntityItem

class CashierAdapter :BaseQuickAdapter<CashierEntityItem,BaseViewHolder>(R.layout.item_cashier) {
    override fun convert(holder: BaseViewHolder, item: CashierEntityItem) {
        holder.setText(R.id.itempay_project,"缴费项目:"+item.chargeType)
        holder.setText(R.id.itempay_money,"￥:"+item.receivableAmount)
        holder.setText(R.id.itempay_uname,"缴费人:"+item.payerName)
        holder.setText(R.id.itempay_phone,"联系电话:"+item.contactNumber)
    }
}